package POJO;

import java.sql.Timestamp;

import org.springframework.stereotype.Repository;

@Repository
public class Parcel {

	private String belong;
	private String parcelNum;
	private String boxSeq;
	private String checkCode;
	private String phoneNum;
	private Timestamp getTime;
	private Timestamp saveTime;
	private int terminalId;
	private int courierId;
	private int status;
	private int boxStatus;

	private int id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public String getParcelNum() {
		return parcelNum;
	}

	public void setParcelNum(String parcelNum) {
		this.parcelNum = parcelNum;
	}

	public String getBoxSeq() {
		return boxSeq;
	}

	public void setBoxSeq(String boxSeq) {
		this.boxSeq = boxSeq;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public int getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(int terminalId) {
		this.terminalId = terminalId;
	}

	public int getCourierId() {
		return courierId;
	}

	public void setCourierId(int courierId) {
		this.courierId = courierId;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getGetTime() {
		return getTime;
	}

	public void setGetTime(Timestamp getTime) {
		this.getTime = getTime;
	}

	public Timestamp getSaveTime() {
		return saveTime;
	}

	public void setSaveTime(Timestamp saveTime) {
		this.saveTime = saveTime;
	}

	public int getBoxStatus() {
		return boxStatus;
	}

	public void setBoxStatus(int boxStatus) {
		this.boxStatus = boxStatus;
	}

	public void print() {
		System.out.println("----------------------");
		System.out.println("belong: " + belong);
		System.out.println("parcelNum: " + parcelNum);
		System.out.println("boxSeq: " + boxSeq);
		System.out.println("checkCode: " + checkCode);
		System.out.println("phoneNUm: " + phoneNum);
	}
}
